#include "widget.h"
#include "ui_widget.h"
#include"QDebug"
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->label->setGeometry(0,0,200,200);
     this->setStyleSheet("QLabel{border: 5px solid red; padding-left: 30px;margin: 50px; }");
     const QRect& rect =ui->label->geometry();
     qDebug()<<rect;

}

Widget::~Widget()
{
    delete ui;
}

